﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Album.aspx.cs" Inherits="Event.Album2" %>

<%@ Register Src="~/Controls/Album/Infor.ascx" TagName="Infor" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Album/ListPhoto.ascx" TagName="ListPhoto" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Album/MemberInSlide.ascx" TagName="MemberInSlide" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Album/Comment.ascx" TagName="Comment" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
    <div id="content">
        <div class="detail">
            <uc:Infor ID="ctrInfor" Visible="false" runat="server" />
            <uc:ListPhoto ID="ctrListPhoto" Visible="false" runat="server" />
            <asp:Literal ID="ltrNoPhoto" Visible="false" runat="server"></asp:Literal>
            <uc:MemberInSlide ID="ctrMemberInSlide" Visible="false" runat="server" />
            <div class="detail-comment fl">
                <div class="mt20 mb20">
                    <div id="advLeft">
                    </div>
                    <asp:Literal ID="ltrAdvLeft" runat="server" />
                </div>
                <div class="mb20">
                    <a href="http://equest.edu.vn/home/201307191298/equest/tin-tuc-su-kien/master-listening-vuot-vu-mon-cho-ky-nang-nghe.html"
                        rel="nofollow" target="_blank">
                        <img alt="" src="/images/equest-600x120.gif" />
                    </a>
                </div>
                <uc:Comment ID="ctrComment" Visible="false" runat="server" />
            </div>
            <div id="fb-root">
            </div>
            <script>                (function (d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)[0];
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "//connect.facebook.net/vi_VN/all.js";
                    fjs.parentNode.insertBefore(js, fjs);
                } (document, 'script', 'facebook-jssdk'));</script>
        </div>
    </div>
    <p id="back-top">
        <a href="#top"><span></span></a>
    </p>
    <script type="text/javascript">
        // fix mobile
        $('body').css('min-width', '1140px');

        $(window).scroll(function () {
            var y = $(this).scrollTop();
            var yRight = $(this).scrollTop() - $('.detail-top').height();
            /***Detail***/
            var top = 20;
            var topRight = 20;

            if (y > $('.detail').position().top + top) {
                $('.detail-scroll > div').css({ 'position': 'fixed', 'top': top });
            } else {
                $('.detail-scroll > div').css({ 'position': 'static' });
            }
            if (yRight > $('.detail').position().top + topRight) {
                $('.box-hot-stylist').css({ 'position': 'fixed', 'top': topRight, 'left': $('.detail').position().left + $('.detail-content').outerWidth(true) });
            } else {
                $('.box-hot-stylist').css({ 'position': 'static' });
            }            
        });
    </script>
    </form>
</asp:Content>
